package com.cloudkinto.vo.warehouse;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CompanyWarehouseVo {
    private Long id;

    @ApiModelProperty("仓库id")
    private Long storageId;

    @ApiModelProperty("仓库")
    private String whCode;
    @ApiModelProperty("租户id")
    private Long tenantId;
    @ApiModelProperty("仓库名称")
    private String whNameCn;
    @ApiModelProperty("币种")
    private String currencyCode;
    @ApiModelProperty("是否选中")
    private int selected;
    @ApiModelProperty("仓库类型 0自营仓 1代理仓")
    private int warehouseType;

    private int status;

    public CompanyWarehouseVo() {
    }

    public CompanyWarehouseVo(Long storageId, String whCode, String whNameCn) {
        this.storageId = storageId;
        this.whCode = whCode;
        this.whNameCn = whNameCn;
    }

    public CompanyWarehouseVo(Long storageId, String whCode, Long tenantId, String whNameCn, String currencyCode, int selected, int status) {
        this.storageId = storageId;
        this.whCode = whCode;
        this.tenantId = tenantId;
        this.whNameCn = whNameCn;
        this.currencyCode = currencyCode;
        this.selected = selected;
        this.status = status;
    }
}
